<?php
class BuyrobotController extends BuynodeController {
	
	/**
	 * 
	 * Enter description here ...
	 */
	public function getNewOrder() {
		$rs = self::getBuyRobotService ()->getNewOrderById ($_POST['id'],$_POST ['status'] );
		$this->sendNotice ( $rs['message'], $rs ['data'], $rs ['status'] );
	}
	
	public static function getBuyRobotService() {
		return new BuyRobotService ();
	}
}
